package cn.iocoder.yudao.module.system.controller.admin.chaoshun.vo.sp;

import com.mzt.logapi.starter.annotation.DiffLogField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "超顺物流 - 商品创建/修改 Request VO")
@Data
public class ChaoshunSpSaveReqVO {

    @Schema(description = "用户编号", example = "1024")
    private Long id;

    @Schema(description = "货名", requiredMode = Schema.RequiredMode.REQUIRED, example = "手机")
//    @Size(max = 30, message = "用户昵称长度不能超过30个字符")
    @DiffLogField(name = "货名")
    private String spmc;

    @Schema(description = "发货人", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @DiffLogField(name = "发货人")
    private String fhr;

    @Schema(description = "是否发送短信", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @DiffLogField(name = "是否发送短信")
    private Integer status;

    @Schema(description = "是否上门", requiredMode = Schema.RequiredMode.REQUIRED, example = "三岔河菜市场")
    @DiffLogField(name = "是否上门")
    private Integer sfsm;

    @Schema(description = "收货地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "三岔河菜市场")
    @DiffLogField(name = "收货地址")
    private String shdz;

    @Schema(description = "备注", example = "我是一个用户")
    @DiffLogField(name = "备注")
    private String remark;

    @Schema(description = "收货电话", requiredMode = Schema.RequiredMode.REQUIRED, example = "16651117024")
    @DiffLogField(name = "收货电话")
    private String shdh;

    @Schema(description = "收货人", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @DiffLogField(name = "收货人")
    private String shr2;

    @Schema(description = "件数", requiredMode = Schema.RequiredMode.REQUIRED, example = "13")
    @DiffLogField(name = "件数")
    private Integer js;

    @Schema(description = "运费", requiredMode = Schema.RequiredMode.REQUIRED, example = "20")
    @DiffLogField(name = "运费")
    private String yf;

    @Schema(description = "运费支付方式", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @DiffLogField(name = "运费支付方式")
    private Integer yffs;

    @Schema(description = "货款", requiredMode = Schema.RequiredMode.REQUIRED, example = "50")
    @DiffLogField(name = "货款")
    private String hk;

    @Schema(description = "货款支付方式", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @DiffLogField(name = "货款支付方式")
    private Integer hkfs;

    @Schema(description = "发货电话", requiredMode = Schema.RequiredMode.REQUIRED, example = "16651117024")
    @DiffLogField(name = "发货电话")
    private String fhdh;

    @Schema(description = "操作类型", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "create/update/supply")
    @DiffLogField(name = "操作类型")
    private String type;

    @Schema(description = "补录日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "20250425")
    @DiffLogField(name = "补录日期")
    private LocalDateTime blrq;

    @Schema(description = "安排送货时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "20250425")
    @DiffLogField(name = "安排送货时间")
    private LocalDateTime apshsj;

    @Schema(description = "收发类型", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1")
    @DiffLogField(name = "收发类型")
    private Integer sflx;

    @Schema(description = "送货人", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "12345678901")
    @DiffLogField(name = "送货人")
    private String songhr;

    @Schema(description = "送货费", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "20")
    @DiffLogField(name = "送货费")
    private String shf;

    @Schema(description = "送货提成", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "20")
    @DiffLogField(name = "送货提成")
    private String shtc;

}
